import request from "@/utils/request";

// POST通用
export function postRequest(params, url) {
  return request({
    url: url,
    method: "post",
    data: {
      ...params
    }
  });
}

// GET通用
export function getRequest(url) {
  return request({
    url: url,
    method: "get"
  });
}

// 获取预约车辆
export function getLoadmeterOrder() {
  return request({
    url: `wh/vehicle/loadometerorder`,
    method: "post"
  });
}

// 获取场内车辆、准备出场车辆、近期出场车辆
export function getLoadmeter(type, params) {
  let d = params
    ? {
        ...params
      }
    : {};
  return request({
    url: `wh/vehicle/getloadometer?status=${type}`,
    method: "post",
    data: d
  });
}

// 筛选场内车辆、准备出场车辆、近期出场车辆数据（分页）
export function getQueryData(params) {
  return request({
    url: `wh/db/query`,
    method: "post",
    data: {
      ...params
    }
  });
}

// 获取货物
export function getLoadometerPayload() {
  return request({
    url: "wh/vehicle/getpayload",
    method: "get"
  });
}

// 获取生产线
export function getLoadometerLine() {
  return request({
    url: "wh/vehicle/getline",
    method: "get"
  });
}

// 获取收货单位（客户）
export function getLoadometerCustomer() {
  return request({
    url: "wh/vehicle/getcustomer",
    method: "get"
  });
}

// 获取发货单位（供货商）
export function getLoadometerVendor() {
  return request({
    url: "wh/vehicle/getvendor",
    method: "get"
  });
}

// 新建/修改磅单
export function editLoadmeter(params) {
  return request({
    url: `wh/vehicle/confirmentry`,
    method: "post",
    data: {
      ...params
    }
  });
}

// 磅单与称重记录绑定
export function bindLoadmeter(params) {
  return request({
    url: `mine/loadometer/check_and_bind`,
    method: "post",
    data: {
      ...params
    }
  });
}

// eip登录 - 横店暂不用
export function loginEIP() {
  return request({
    url: "service/auth?tenantId=" + window.userConfig.tenantId,
    method: "post",
    data: {
      username: window.userConfig.username,
      password: window.userConfig.password
    }
  });
}

// 查询准备出场磅单 - 废弃
export function getLoadmeterReady() {
  return request({
    url: `mine/loadometer/getloadometerready`,
    method: "get"
  });
}

// 用id_查询具体车辆的最新磅单信息
export function getLoadometerInfo(id) {
  return request({
    url: `wh/vehicle/getloadometerinfo?id=${id}`,
    method: "get"
  });
}

// 打印
export function print(id, tenant_id_) {
  return request({
    url: `wh/vehicle/loadometerprint?id=${id}&tenant_id_=${tenant_id_}`,
    method: "post"
  });
}

// 已打印（状态9）变为未打印（状态8）
export function reWeightPrint(id) {
  return request({
    url: `wh/vehicle/loadometerreweigh?id=${id}`,
    method: "post"
  });
}

// 查询磅房上下班状态
export function getLoadmeterStatus() {
  return request({
    url: `mine/loadometer/status`,
    method: "get"
  });
}

// 设置磅房上下班状态
export function setLoadmeterStatus(status) {
  return request({
    url: `mine/loadometer/status?working=${status}`,
    method: "get"
  });
}

export function getWarehouse() {
  return {
    msg: "success",
    code: 0,
    list: [
      {
        id: 7,
        controlNumber: "8573",
        warehouseCode: "1#01",
        warehouseName: "1#水泥1",
        warehouseType: 1,
        productionName: "1",
        materialName: "水泥",
        materialId: 6,
        category: 4,
        subCategory: 1,
        capacity: 300000.0,
        theoreticalInventory: 198350.0,
        actualInventory: 193300.0,
        upperLimit: 250000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 2,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 8,
        controlNumber: "3214",
        warehouseCode: "1#02",
        warehouseName: "1#水泥2",
        warehouseType: 1,
        productionName: "1",
        materialName: "水泥",
        materialId: 6,
        category: 4,
        subCategory: 1,
        capacity: 300000.0,
        theoreticalInventory: 226609.0,
        actualInventory: 232700.0,
        upperLimit: 250000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: false,
        purposeAll: null,
        sortFlag: 3,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 9,
        controlNumber: "403",
        warehouseCode: "1#03",
        warehouseName: "1#矿粉",
        warehouseType: 2,
        productionName: "1",
        materialName: "矿粉",
        materialId: 7,
        category: 3,
        subCategory: 2,
        capacity: 300000.0,
        theoreticalInventory: 73017.9,
        actualInventory: 91600.0,
        upperLimit: 250000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 4,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 10,
        controlNumber: "3228",
        warehouseCode: "1#04",
        warehouseName: "1#粉煤灰",
        warehouseType: 3,
        productionName: "1",
        materialName: "粉煤灰",
        materialId: 2,
        category: 5,
        subCategory: 3,
        capacity: 200000.0,
        theoreticalInventory: 82809.2,
        actualInventory: 93500.0,
        upperLimit: 180000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 5,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 11,
        controlNumber: "8554",
        warehouseCode: "1#05",
        warehouseName: "1#膨胀剂",
        warehouseType: 5,
        productionName: "1",
        materialName: "膨胀剂",
        materialId: 8,
        category: 6,
        subCategory: 4,
        capacity: 100000.0,
        theoreticalInventory: 35265.6,
        actualInventory: 36500.0,
        upperLimit: 60000.0,
        lowerLimit: 0.0,
        initialStock: 39000.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 6,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 4,
        controlNumber: null,
        warehouseCode: "1#06",
        warehouseName: "1#天然砂",
        warehouseType: 8,
        productionName: "1",
        materialName: "天然砂",
        materialId: 4,
        category: 1,
        subCategory: 5,
        capacity: 2000000.0,
        theoreticalInventory: 32028623.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 25,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 5,
        controlNumber: null,
        warehouseCode: "1#07",
        warehouseName: "1#机制砂1",
        warehouseType: 8,
        productionName: "1",
        materialName: "机制砂",
        materialId: 5,
        category: 1,
        subCategory: 6,
        capacity: 3000000.0,
        theoreticalInventory: 220398947.0,
        actualInventory: 0.0,
        upperLimit: 3000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 19,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 6,
        controlNumber: null,
        warehouseCode: "1#08",
        warehouseName: "1#机制砂2",
        warehouseType: 8,
        productionName: "1",
        materialName: "机制砂",
        materialId: 5,
        category: 1,
        subCategory: 6,
        capacity: 3000000.0,
        theoreticalInventory: -40833630.0,
        actualInventory: 0.0,
        upperLimit: 3000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 23,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 2,
        controlNumber: null,
        warehouseCode: "1#09",
        warehouseName: "1#大石子1",
        warehouseType: 6,
        productionName: "1",
        materialName: "大石子",
        materialId: 1,
        category: 2,
        subCategory: 7,
        capacity: 2000000.0,
        theoreticalInventory: 163601082.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 22,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 10018,
        controlNumber: null,
        warehouseCode: "1#10",
        warehouseName: "1#大石子2",
        warehouseType: 9,
        productionName: "1",
        materialName: "大石子",
        materialId: 1,
        category: 2,
        subCategory: 7,
        capacity: 3000000.0,
        theoreticalInventory: -31927772.0,
        actualInventory: 0.0,
        upperLimit: 30000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: "",
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 21,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 1,
        controlNumber: null,
        warehouseCode: "1#11",
        warehouseName: "1#小石子1",
        warehouseType: 6,
        productionName: "1",
        materialName: "小石子",
        materialId: 3,
        category: 2,
        subCategory: 8,
        capacity: 2000000.0,
        theoreticalInventory: 144184012.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 28,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 3,
        controlNumber: null,
        warehouseCode: "1#12",
        warehouseName: "1#小石子2",
        warehouseType: 6,
        productionName: "1",
        materialName: "小石子",
        materialId: 3,
        category: 2,
        subCategory: 8,
        capacity: 2000000.0,
        theoreticalInventory: -9404168.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 27,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 12,
        controlNumber: null,
        warehouseCode: "1#13",
        warehouseName: "1#外加剂11",
        warehouseType: 4,
        productionName: "1",
        materialName: "外加剂",
        materialId: 11,
        category: 7,
        subCategory: 9,
        capacity: 10000.0,
        theoreticalInventory: -47229.05,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: false,
        purposeAll: null,
        sortFlag: 7,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 13,
        controlNumber: null,
        warehouseCode: "1#14",
        warehouseName: "1#外加剂12",
        warehouseType: 4,
        productionName: "1",
        materialName: "外加剂",
        materialId: 11,
        category: 7,
        subCategory: 9,
        capacity: 10000.0,
        theoreticalInventory: 0.0,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 19,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 14,
        controlNumber: null,
        warehouseCode: "1#15",
        warehouseName: "1#外加剂21",
        warehouseType: 4,
        productionName: "1",
        materialName: "外加剂",
        materialId: 11,
        category: 7,
        subCategory: 9,
        capacity: 10000.0,
        theoreticalInventory: -4967.23,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 20,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 15,
        controlNumber: null,
        warehouseCode: "1#16",
        warehouseName: "1#增效剂",
        warehouseType: 10012,
        productionName: "1",
        materialName: "增效剂",
        materialId: 10013,
        category: 7,
        subCategory: 10013,
        capacity: 10000.0,
        theoreticalInventory: -16680.15,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 13,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 16,
        controlNumber: null,
        warehouseCode: "1#17",
        warehouseName: "1#清水",
        warehouseType: 7,
        productionName: "1",
        materialName: "清水",
        materialId: 9,
        category: 8,
        subCategory: 10,
        capacity: 10000.0,
        theoreticalInventory: -8748021.4,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 0,
        sortName: null,
        feeding: true,
        binFlag: null
      },
      {
        id: 17,
        controlNumber: null,
        warehouseCode: "1#18",
        warehouseName: "1#回收水",
        warehouseType: 7,
        productionName: "1",
        materialName: "回收水",
        materialId: 10,
        category: 8,
        subCategory: 11,
        capacity: 100000.0,
        theoreticalInventory: -1233141.5,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 0,
        sortName: null,
        feeding: true,
        binFlag: null
      },
      {
        id: 26,
        controlNumber: "4593",
        warehouseCode: "2#01",
        warehouseName: "2#水泥1",
        warehouseType: 1,
        productionName: "2",
        materialName: "水泥",
        materialId: 6,
        category: 4,
        subCategory: 1,
        capacity: 300000.0,
        theoreticalInventory: 174382.0,
        actualInventory: 181300.0,
        upperLimit: 250000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 8,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 27,
        controlNumber: "563",
        warehouseCode: "2#02",
        warehouseName: "2#水泥2",
        warehouseType: 1,
        productionName: "2",
        materialName: "水泥",
        materialId: 6,
        category: 4,
        subCategory: 1,
        capacity: 300000.0,
        theoreticalInventory: 171251.0,
        actualInventory: 169300.0,
        upperLimit: 250000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 9,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 28,
        controlNumber: "9088",
        warehouseCode: "2#03",
        warehouseName: "2#矿粉",
        warehouseType: 2,
        productionName: "2",
        materialName: "矿粉",
        materialId: 7,
        category: 3,
        subCategory: 2,
        capacity: 300000.0,
        theoreticalInventory: 92258.3,
        actualInventory: 119400.0,
        upperLimit: 250000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 10,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 29,
        controlNumber: "1559",
        warehouseCode: "2#04",
        warehouseName: "2#粉煤灰",
        warehouseType: 3,
        productionName: "2",
        materialName: "粉煤灰",
        materialId: 2,
        category: 5,
        subCategory: 3,
        capacity: 200000.0,
        theoreticalInventory: 53978.8,
        actualInventory: 56700.0,
        upperLimit: 180000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 11,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 30,
        controlNumber: "4009",
        warehouseCode: "2#05",
        warehouseName: "2#膨胀剂",
        warehouseType: 5,
        productionName: "2",
        materialName: "膨胀剂",
        materialId: 8,
        category: 6,
        subCategory: 4,
        capacity: 100000.0,
        theoreticalInventory: 56113.3,
        actualInventory: 54500.0,
        upperLimit: 60000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 12,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 22,
        controlNumber: null,
        warehouseCode: "2#06",
        warehouseName: "2#天然砂",
        warehouseType: 8,
        productionName: "2",
        materialName: "天然砂",
        materialId: 4,
        category: 1,
        subCategory: 5,
        capacity: 2000000.0,
        theoreticalInventory: -16171231.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 9,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 20,
        controlNumber: null,
        warehouseCode: "2#07",
        warehouseName: "2#机制砂1",
        warehouseType: 8,
        productionName: "2",
        materialName: "机制砂",
        materialId: 5,
        category: 1,
        subCategory: 6,
        capacity: 2000000.0,
        theoreticalInventory: -45990520.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 5,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 21,
        controlNumber: null,
        warehouseCode: "2#08",
        warehouseName: "2#机制砂2",
        warehouseType: 8,
        productionName: "2",
        materialName: "机制砂",
        materialId: 5,
        category: 1,
        subCategory: 6,
        capacity: 2000000.0,
        theoreticalInventory: -48494891.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 6,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 24,
        controlNumber: null,
        warehouseCode: "2#09",
        warehouseName: "2#大石子1",
        warehouseType: 6,
        productionName: "2",
        materialName: "大石子",
        materialId: 1,
        category: 2,
        subCategory: 7,
        capacity: 2000000.0,
        theoreticalInventory: -46917262.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 3,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 10019,
        controlNumber: null,
        warehouseCode: "2#10",
        warehouseName: "2#大石子2",
        warehouseType: 9,
        productionName: "2",
        materialName: "大石子",
        materialId: 1,
        category: 2,
        subCategory: 7,
        capacity: 3000000.0,
        theoreticalInventory: -28749044.0,
        actualInventory: 0.0,
        upperLimit: 3000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: "",
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 0,
        sortName: null,
        feeding: true,
        binFlag: null
      },
      {
        id: 23,
        controlNumber: null,
        warehouseCode: "2#11",
        warehouseName: "2#小石子1",
        warehouseType: 6,
        productionName: "2",
        materialName: "小石子",
        materialId: 3,
        category: 2,
        subCategory: 8,
        capacity: 2000000.0,
        theoreticalInventory: -38681393.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 2,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 25,
        controlNumber: null,
        warehouseCode: "2#12",
        warehouseName: "2#小石子2",
        warehouseType: 6,
        productionName: "2",
        materialName: "小石子",
        materialId: 3,
        category: 2,
        subCategory: 8,
        capacity: 2000000.0,
        theoreticalInventory: -25764828.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 13,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 33,
        controlNumber: null,
        warehouseCode: "2#13",
        warehouseName: "2#外加剂11",
        warehouseType: 4,
        productionName: "2",
        materialName: "外加剂",
        materialId: 11,
        category: 7,
        subCategory: 9,
        capacity: 10000.0,
        theoreticalInventory: -849931.68,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 2,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 34,
        controlNumber: null,
        warehouseCode: "2#14",
        warehouseName: "2#外加剂12",
        warehouseType: 4,
        productionName: "2",
        materialName: "外加剂",
        materialId: 11,
        category: 7,
        subCategory: 9,
        capacity: 10000.0,
        theoreticalInventory: -106.44,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 3,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 35,
        controlNumber: null,
        warehouseCode: "2#15",
        warehouseName: "2#外加剂21",
        warehouseType: 4,
        productionName: "2",
        materialName: "外加剂",
        materialId: 11,
        category: 7,
        subCategory: 9,
        capacity: 10000.0,
        theoreticalInventory: -57154.69,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 4,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 36,
        controlNumber: null,
        warehouseCode: "2#16",
        warehouseName: "2#增效剂",
        warehouseType: 10012,
        productionName: "2",
        materialName: "增效剂",
        materialId: 10013,
        category: 7,
        subCategory: 10013,
        capacity: 10000.0,
        theoreticalInventory: 60774.68,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 5,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 31,
        controlNumber: null,
        warehouseCode: "2#17",
        warehouseName: "2#清水",
        warehouseType: 7,
        productionName: "2",
        materialName: "清水",
        materialId: 9,
        category: 8,
        subCategory: 10,
        capacity: 0.0,
        theoreticalInventory: -9920968.5,
        actualInventory: 0.0,
        upperLimit: 0.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 8,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 32,
        controlNumber: null,
        warehouseCode: "2#18",
        warehouseName: "2#回收水",
        warehouseType: 7,
        productionName: "2",
        materialName: "回收水",
        materialId: 10,
        category: 8,
        subCategory: 11,
        capacity: 1000.0,
        theoreticalInventory: -3539449.1,
        actualInventory: 0.0,
        upperLimit: 1000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 4,
        sortName: "2号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 44,
        controlNumber: "680",
        warehouseCode: "3#01",
        warehouseName: "3#水泥1",
        warehouseType: 1,
        productionName: "3",
        materialName: "水泥",
        materialId: 6,
        category: 4,
        subCategory: 1,
        capacity: 300000.0,
        theoreticalInventory: 223545.0,
        actualInventory: 221000.0,
        upperLimit: 250000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 14,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 45,
        controlNumber: "4713",
        warehouseCode: "3#02",
        warehouseName: "3#水泥2",
        warehouseType: 1,
        productionName: "3",
        materialName: "水泥",
        materialId: 6,
        category: 4,
        subCategory: 1,
        capacity: 300000.0,
        theoreticalInventory: 194511.0,
        actualInventory: 211100.0,
        upperLimit: 250000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 15,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 46,
        controlNumber: "8240",
        warehouseCode: "3#03",
        warehouseName: "3#矿粉",
        warehouseType: 2,
        productionName: "3",
        materialName: "矿粉",
        materialId: 7,
        category: 3,
        subCategory: 2,
        capacity: 300000.0,
        theoreticalInventory: 125604.8,
        actualInventory: 143400.0,
        upperLimit: 250000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 16,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 47,
        controlNumber: "8815",
        warehouseCode: "3#04",
        warehouseName: "3#粉煤灰",
        warehouseType: 3,
        productionName: "3",
        materialName: "粉煤灰",
        materialId: 2,
        category: 5,
        subCategory: 3,
        capacity: 200000.0,
        theoreticalInventory: 64555.6,
        actualInventory: 69800.0,
        upperLimit: 180000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 17,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 48,
        controlNumber: "5371",
        warehouseCode: "3#05",
        warehouseName: "3#膨胀剂",
        warehouseType: 5,
        productionName: "3",
        materialName: "膨胀剂",
        materialId: 8,
        category: 6,
        subCategory: 4,
        capacity: 100000.0,
        theoreticalInventory: 20015.0,
        actualInventory: 26100.0,
        upperLimit: 60000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 18,
        sortName: "1号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 40,
        controlNumber: null,
        warehouseCode: "3#06",
        warehouseName: "3#天然砂",
        warehouseType: 8,
        productionName: "3",
        materialName: "天然砂",
        materialId: 4,
        category: 1,
        subCategory: 5,
        capacity: 2000000.0,
        theoreticalInventory: -14940086.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 8,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 38,
        controlNumber: null,
        warehouseCode: "3#07",
        warehouseName: "3#机制砂1",
        warehouseType: 8,
        productionName: "3",
        materialName: "机制砂",
        materialId: 5,
        category: 1,
        subCategory: 6,
        capacity: 2000000.0,
        theoreticalInventory: -47022921.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 5,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 39,
        controlNumber: null,
        warehouseCode: "3#08",
        warehouseName: "3#机制砂2",
        warehouseType: 8,
        productionName: "3",
        materialName: "机制砂",
        materialId: 5,
        category: 1,
        subCategory: 6,
        capacity: 2000000.0,
        theoreticalInventory: -36537131.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 6,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 42,
        controlNumber: null,
        warehouseCode: "3#09",
        warehouseName: "3#大石子1",
        warehouseType: 6,
        productionName: "3",
        materialName: "大石子",
        materialId: 1,
        category: 2,
        subCategory: 7,
        capacity: 2000000.0,
        theoreticalInventory: -55354970.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 3,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 10020,
        controlNumber: null,
        warehouseCode: "3#10",
        warehouseName: "3#大石子2",
        warehouseType: 9,
        productionName: "3",
        materialName: "大石子",
        materialId: 1,
        category: 2,
        subCategory: 7,
        capacity: 3000000.0,
        theoreticalInventory: -11252178.0,
        actualInventory: 0.0,
        upperLimit: 3000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: "",
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 0,
        sortName: null,
        feeding: true,
        binFlag: null
      },
      {
        id: 41,
        controlNumber: null,
        warehouseCode: "3#11",
        warehouseName: "3#小石子1",
        warehouseType: 6,
        productionName: "3",
        materialName: "小石子",
        materialId: 3,
        category: 2,
        subCategory: 8,
        capacity: 2000000.0,
        theoreticalInventory: -44752718.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 2,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 43,
        controlNumber: null,
        warehouseCode: "3#12",
        warehouseName: "3#小石子2",
        warehouseType: 6,
        productionName: "3",
        materialName: "小石子",
        materialId: 3,
        category: 2,
        subCategory: 8,
        capacity: 2000000.0,
        theoreticalInventory: -13329664.0,
        actualInventory: 0.0,
        upperLimit: 2000000.0,
        lowerLimit: 10000.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 12,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 51,
        controlNumber: null,
        warehouseCode: "3#13",
        warehouseName: "3#外加剂11",
        warehouseType: 4,
        productionName: "3",
        materialName: "外加剂",
        materialId: 11,
        category: 7,
        subCategory: 9,
        capacity: 10000.0,
        theoreticalInventory: -797316.05,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 2,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 52,
        controlNumber: null,
        warehouseCode: "3#14",
        warehouseName: "3#外加剂12",
        warehouseType: 4,
        productionName: "3",
        materialName: "外加剂",
        materialId: 11,
        category: 7,
        subCategory: 9,
        capacity: 10000.0,
        theoreticalInventory: -9.6,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 3,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 53,
        controlNumber: null,
        warehouseCode: "3#15",
        warehouseName: "3#外加剂21",
        warehouseType: 4,
        productionName: "3",
        materialName: "外加剂",
        materialId: 11,
        category: 7,
        subCategory: 9,
        capacity: 10000.0,
        theoreticalInventory: -10351.1,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 4,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 54,
        controlNumber: null,
        warehouseCode: "3#16",
        warehouseName: "3#增效剂",
        warehouseType: 10012,
        productionName: "3",
        materialName: "增效剂",
        materialId: 10013,
        category: 7,
        subCategory: 10013,
        capacity: 10000.0,
        theoreticalInventory: -41008.95,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: true,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 5,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 49,
        controlNumber: null,
        warehouseCode: "3#17",
        warehouseName: "3#清水",
        warehouseType: 7,
        productionName: "3",
        materialName: "清水",
        materialId: 9,
        category: 8,
        subCategory: 10,
        capacity: 10000.0,
        theoreticalInventory: -9304905.3,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 7,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      },
      {
        id: 50,
        controlNumber: null,
        warehouseCode: "3#18",
        warehouseName: "3#回收水",
        warehouseType: 7,
        productionName: "3",
        materialName: "回收水",
        materialId: 10,
        category: 8,
        subCategory: 11,
        capacity: 10000.0,
        theoreticalInventory: -2941552.0,
        actualInventory: 0.0,
        upperLimit: 10000.0,
        lowerLimit: 0.0,
        initialStock: 0.0,
        moistureRatio: 0.0,
        remark: null,
        isMonitor: false,
        displayInWolf: true,
        backups: false,
        status: true,
        purposeAll: null,
        sortFlag: 4,
        sortName: "3号线",
        feeding: true,
        binFlag: null
      }
    ]
  };
}
